var dataObj = ""

function mainModFn(data) {
    let icon = "el-icon-video-play"
    let nodeStyle = "start-node"
    if (data == "end") {
        icon = "el-icon-video-pause";
        nodeStyle = "end-node";
    }
    dataObj = `<div class="${nodeStyle}">
                    <i class = "${icon}" > </i>
                </div>`;
    return dataObj
}


export default mainModFn;